﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="ihongma.Web.Plugin.Feedback.feedback" ValidateRequest="false" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="ihongma.Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by ihongma Template Engine at 2012/8/2 11:00:56.
		本页面代码由ihongma模板引擎生成于 2012/8/2 11:00:56. 
	*/

	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);


	templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n<title>北京泰达华芯科技发展有限责任公司</title>\r\n<meta name=keywords content=\"北京泰达华芯科技发展有限责任公司，泰达华芯\" />\r\n<meta name=Description content=\"北京泰达华芯科技发展有限责任公司，泰达华芯\" />\r\n<meta content=\"all, index, follow\" name=\"robots\">\r\n<meta content=\"ww.teda-power.com\" name=\"author\">\r\n<meta content=\"Copyright 2012 www.teda-power.com\" name=\"copyright\">\r\n<link media=\"screen\" href=\"");
	templateBuilder.Append(config.templateskin.ToString());
	templateBuilder.Append("/css/style.css\" type=\"text/css\" rel=\"stylesheet\" title=\"泰达华芯\"/>\r\n\r\n<script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("scripts/jquery/jquery-1.3.2.min.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("scripts/jquery/jquery.form.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("scripts/jquery/jquery.validate.min.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("scripts/jquery/messages_cn.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("scripts/ui/js/ligerBuild.min.js\"></");
	templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.templateskin.ToString());
	templateBuilder.Append("/js/base.js\"></");
	templateBuilder.Append("script>\r\n<link rel=\"stylesheet\" href=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("scripts/ui/skins/Aqua/css/ligerui-all.css\" />\r\n<script type=\"text/javascript\">\r\n$(function(){\r\n	//初始化发表评论表单\r\n	AjaxOnSubmit('comment_form', 'btnSubmit', '");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("plugins/feedback/ajax.ashx?action=add');\r\n});\r\n</");
	templateBuilder.Append("script>\r\n</head>\r\n\r\n<body>\r\n<div id=\"warp\">\r\n<div id=\"header\">\r\n     <div class=\"tc\">\r\n       <h1 class=\"logo\"><a href=\"/\" title=\"泰达华芯\" rel=\"home\" accesskey=\"a\">泰达华芯</a></h1>\r\n       <div class=\"tc_sear\">\r\n        <label>内容搜索：</label>\r\n         <input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"search_text inputText\" value=\"输入关健字\" onfocus=\"javascript:if(this.value=='输入关健字')this.value='';\" onblur=\"javascript:if(this.value=='')this.value='输入关健字'\" />\r\n        <input name=\"\" class=\"btn\" type=\"button\" value=\"搜索\" onclick=\"SiteSearch('");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("search.aspx', '#keywords');\" />\r\n      </div>\r\n       <div class=\"tc_caption\"><a href=\"registration.aspx\">注册会员 </a> | <a href=\"login.aspx\">会员登录</a> </div>\r\n       </div>\r\n  </div>\r\n      <div class=\"menu\">\r\n       <ul>\r\n\r\n\r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("index",""));

	templateBuilder.Append("\">首页      </a></li> \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("down_list",""));

	templateBuilder.Append("\">产品中心  </a></li>     \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("feedback",""));

	templateBuilder.Append("\">互动交流   </a></li>    \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("order",""));

	templateBuilder.Append("\">在线订购   </a></li>    \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("article_list",""));

	templateBuilder.Append("\">新闻动态   </a></li>    \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("content","about"));

	templateBuilder.Append("\">关于泰达华芯  </a></li>     \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("content","job"));

	templateBuilder.Append("\">招贤纳士    </a></li>   \r\n         <li class=\"ml_out\"><a href=\"");
	templateBuilder.Append(linkurl("content","contact"));

	templateBuilder.Append("\">联系我们</a></li>\r\n       </ul>\r\n    </div>\r\n    <div class=\"overflow mart_8\"><img src=\"");
	templateBuilder.Append(config.templateskin.ToString());
	templateBuilder.Append("/images/swf.jpg\"/></div>");


	templateBuilder.Append("\r\n\r\n \r\n    <div id=\"content\" class=\"mart_8\">\r\n      <div class=\"mainbg928 \">\r\n       <div class=\"w200 floatleft\">\r\n          <div class=\"laname\">互动交流</div>\r\n           <ul class=\"l_class\">\r\n\r\n          <!--   <li><a href=\"#\">互动交流</a></li>-->\r\n            \r\n\r\n          </ul>\r\n       </div>\r\n         <div class=\"floatleft\"><img src=\"images/181003.jpg\"/></div>\r\n       <div class=\"w719 floatleft\">\r\n            <div class=\"raname\">您所在的位置：<a href=\"/\">首页</a> >> <a href=\"/\">互动交流</a></div>\r\n            \r\n               <div class=\"w_padd20\" >\r\n               \r\n             \r\n             ");
	DataTable plist = new ihongma.Web.Plugin.Feedback.feedback().get_feedback_list(10, page, "", out totalcount);
	

	string pagelist = get_page_link(10, page, totalcount, "feedback1", "__id__");
	

	int list__loop__id=0;
	foreach(DataRow list in plist.Rows)
	{
		list__loop__id++;


	templateBuilder.Append("\r\n          <div class=\"mess\">\r\n		    <div class=\"mess_bt\">" + list["user_name"].ToString().Trim() + "</div>\r\n			<span class=\"messspan\">" + list["add_time"].ToString().Trim() + "</span>\r\n			<div class=\"mess_c\">			 " + list["content"].ToString().Trim() + "\r\n			</div>\r\n			<div class=\"mess_hf\">\r\n			回复：" + list["reply_content"].ToString().Trim() + "\r\n			</div>\r\n		  </div>\r\n          ");
	}	//end loop


	templateBuilder.Append("\r\n           <div class=\"flickr\">");
	templateBuilder.Append(pagelist.ToString());
	templateBuilder.Append("</div> <!--放置页码列表-->\r\n          <div class=\"mess\">\r\n    \r\n		    <div class=\"mess_bt\">在线反馈<a name=\"Add\" id=\"Add\"></a></div>\r\n            <form id=\"comment_form\" name=\"comment_form\" method=\"post\">\r\n<div class=\"feedback_add\">\r\n     \r\n       <dl class=\"frms\">\r\n         <dt>留言标题：</dt>\r\n         <dd><input id=\"txtTitle\" name=\"txtTitle\" type=\"text\" class=\"inputText normal required\" /></dd>\r\n       </dl>\r\n       <dl class=\"frms\">\r\n         <dt>留言内容：</dt>\r\n         <dd><textarea id=\"txtContent\" name=\"txtContent\" class=\"normal required\" rows=\"8\" ></textarea></dd>\r\n       </dl>\r\n       <dl class=\"frms\">\r\n         <dt>验证码：</dt>\r\n         <dd>\r\n           <span class=\"fright\"><input name=\"btnSubmit\" type=\"submit\" value=\"发表留言\" class=\"submit\" /></span>\r\n           <input id=\"txtCode\" name=\"txtCode\" type=\"text\" class=\"text required\" style=\"width:80px;\" />\r\n           <a href=\"javascript:;\" onclick=\"ToggleCode(this, '");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("tools/verify_code.ashx');return false;\"><img src=\"");
	templateBuilder.Append(config.webpath.ToString());
	templateBuilder.Append("tools/verify_code.ashx\" width=\"80\" height=\"22\" /> 看不清楚？</a>\r\n         </dd>\r\n       </dl>\r\n     </div>\r\n <div class=\"clear\"></div>\r\n     <input type=\"hidden\" id=\"turl\" value=\"");
	templateBuilder.Append(linkurl("feedback",""));

	templateBuilder.Append("\" />\r\n     </form>\r\n		  </div>\r\n\r\n               </div>\r\n   \r\n   \r\n   \r\n    \r\n     </div>\r\n    </div>\r\n\r\n\r\n </div>\r\n ");

	templateBuilder.Append("<div class=\"overflow\"><img src=\"images/boimg.gif\"/></div>\r\n    \r\n    <div id=\"footer\">\r\n  <div class=\"foot_copy\">  北京泰达华芯科技发展有限责任公司 版权所有\r\n<br/>技术支持：<a href=\"http://www.bjhqlc.com\" target=\"_blank\">华强联创</a></div>\r\n  <div class=\"foot_cnzz\">&copy; <script language=\"JavaScript\">var myDate = new Date();document.write(myDate.getFullYear());</");
	templateBuilder.Append("script> teda-power.com. All Rights Reserved\r\n<br/>京ICP备07027849号</div>\r\n</div>\r\n </div>\r\n \r\n \r\n</body>\r\n</html>");


	Response.Write(templateBuilder.ToString());
}
</script>
